package com.charles.oa.base;

import java.util.List;

public interface BaseDao<T> {
	void save(T entity);

	void delete(Long id);

	void update(T entity);

	T get(Long id);

	List<T> getByIds(Long[] ids);

	List<T> findAll();
}
